package com.github.cdisk.xtrans.core;

import com.github.cdisk.xtrans.annotiation.Attribute;

public class BaseComponentUI {

	/** 可视化界面上的坐标x */
	@Attribute(value="X位置", group="UI")
	protected int x;

	/** 可视化界面上的坐标y */
	@Attribute(value="Y位置", group="UI")
	protected int y;

	/** UI界面被选中状态 */
	protected boolean selection = false;


	public BaseComponentUI() {
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public boolean isSelection() {
		return selection;
	}

	public void setSelection(boolean selection) {
		this.selection = selection;
	}

}
